from config import BASE_PATH
from common.logging_use import init_log_config

# 拼接 日志文件 存储路径
log_filename= BASE_PATH + "/log/log_homework.log"
init_log_config(log_filename, interval=2, backup_count=3)